There is usually no trouble in assigning a value to a
variable of different type. The value will be preserved as expected
except where;
nThe variable is too small to hold
the value. In this case it will be corrupted (this is bad).
nThe
variable is an integer type and is being assigned a real value. The value is rounded
down.
This is often done deliberately by the programmer.